package com.devunion.salon.core.model;

import javax.persistence.Embeddable;

/**
 * @author spetrakovsky  23.02.2009
 */
@Embeddable
public class Tax extends BaseSalonEntity {

    private boolean enable;

    private float firstRate;

    private float secondRate;

    public boolean isEnable() {
        return enable;
    }

    public void setEnable(boolean enable) {
        this.enable = enable;
    }

    public float getFirstRate() {
        return firstRate;
    }

    public void setFirstRate(float firstRate) {
        this.firstRate = firstRate;
    }

    public float getSecondRate() {
        return secondRate;
    }

    public void setSecondRate(float secondRate) {
        this.secondRate = secondRate;
    }
}
